package com.ititer.bean;

import java.util.Date;

import org.hibernate.validator.Email;
import org.hibernate.validator.NotEmpty;

import com.ititer.AbstractBean;

public class AccountBean extends AbstractBean {

	private static final long serialVersionUID = -4176696424749600933L;

	private Integer id;

	@Email(message = "email.is.required")
	@NotEmpty(message = "email.is.required")
	private String email;

	@NotEmpty(message = "password.is.required")
	private String passwd;

	private String status;

	private String referer;

	private Date lastLoginTime;

	private Date createTime;

	private String uri = "";

	private String ip;

	private String avatar;

	private String[] domains;

	public String getReferer() {
		return referer;
	}

	public void setReferer(String referer) {
		this.referer = referer;
	}

	public String getPasswd() {
		return passwd;
	}

	public void setPasswd(String password) {
		this.passwd = password;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public String getUri() {
		return uri;
	}

	public void setUri(String uri) {
		this.uri = uri;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String[] getDomains() {
		return domains;
	}

	public void setDomains(String[] domains) {
		this.domains = domains;
	}

}
